<script setup>
import { RouterView } from 'vue-router'
</script>

<template>
  <div class="main-container">
    <RouterView />
    <div id="global-modal-container"></div>
  </div>
</template>

<style>
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* 全局基础样式 */
#app {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
  'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.main-container {
  min-height: 100vh;
  background: var(--color-bg-1);
}

/* 响应式处理 */
@media (max-width: 768px) {
  .main-container {
    padding: 12px;
  }
}



</style>